﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GUI
{
    public partial class frmManHinhChinh : Form
    {
        public frmManHinhChinh()
        {
            InitializeComponent();
        }

        private void frmManHinhChinh_Load(object sender, EventArgs e)
        {
            if (Session.Sec.Count == 0)
            {
                //frmDangNhap frm = new frmDangNhap();
                //frm.ShowDialog();
                //MessageBox.Show("s s s  s s");
                //frmDangNhap.ActiveForm.Activate();
            }

            //MessageBox.Show("s s s  s s");
            //MessageBox.Show(Session.Sec.Count.ToString());
          
        }

        private void btnThucDon_Click(object sender, EventArgs e)
        {
            frmThucDon frm = new frmThucDon();
            frm.ShowDialog();
        }

        private void btnMonAn_Click(object sender, EventArgs e)
        {
            frmMonAn frm = new frmMonAn();
            frm.ShowDialog();

        }

        private void btnDatHang_Click(object sender, EventArgs e)
        {
            frmDatHang frm = new frmDatHang();
            frm.ShowDialog();
        }

        private void btnBanVe_Click(object sender, EventArgs e)
        {
            frmBanVe frm = new frmBanVe();
            frm.ShowDialog();
        }

        private void btnNhapKho_Click(object sender, EventArgs e)
        {
            frmNhapKho frm = new frmNhapKho();
            frm.ShowDialog();
        }

        private void btnXuatKho_Click(object sender, EventArgs e)
        {
            frmXuatKho frm = new frmXuatKho();
            frm.ShowDialog();
        }
    }
}
